package com.beans.userrepository;

import org.springframework.stereotype.Repository;

@Repository //将对象注入到spring中
public class UserRepository {
    public void sayHello(String name){
        System.out.println("Hello "+name);
    }
}
